<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<table width="100%">
	<tr>
		<td width="100%">
			<fieldset>
				<legend class="header3">
					<strong>Manage Departments</strong>
				</legend>
				<table width="100%">
					<tbody>
						<tr>							
							<td width="100%" align="center">
								<form action="" method="post">
									<table class="table-list">
										<thead>
											<tr>
												<th width="50">
													#
												</th>
												<th width="300">
													Department Name
												</th>
												<th width="100">
													Duration
												</th>
												<th width="100">
													Type
												</th>
												<th width="300">
													H.O.D
												</th>
											</tr>
										</thead>
										<tbody>
											<c:forEach var="department" varStatus="index" begin="1"
												end="10" step="1">
												<tr>
													<td width="50">
														${index.count}
													</td>
													<td width="300">
														<input style="width: 250px;" type="text">
													</td>
													<td width="100">
														<select>
															<option>
																1
															</option>
															<option>
																2
															</option>
															<option>
																3
															</option>
															<option>
																4
															</option>
															<option>
																5
															</option>
														</select>
													</td>
													<td width="100">
														<select>
															<option>
																Regular
															</option>
															<option>
																Part Time
															</option>
															<option>
																Correspondence
															</option>
														</select>
													</td>
													<td width="300">
														<select style="width: 250px;">
															<option>
																Please select teacher
															</option>
															<option>
																Ram Kumar
															</option>
															<option>
																Venkat
															</option>
														</select>
													</td>
												</tr>
											</c:forEach>
										</tbody>
										<tfoot>
											<tr>
												<td colspan="5" align="center">
													<input value="Save" class="button-footer" type="submit">
												</td>
											</tr>
										</tfoot>
									</table>
								</form>
							</td>
						</tr>
					</tbody>
				</table>
			</fieldset>
		</td>
	</tr>
</table>